<layout name ="common" />
<div class="templatemo-flex-row flex-content-row">
	<div class="col-1">
		<div class="panel panel-default margin-10">
			<div class="panel-heading"><h2 class="text-uppercase">修改用户</h2></div>
			<div class="panel-body">
				<form name="myform" action="__ROOT__/user/editUser/id/{$row.id}" class="templatemo-login-form" method="post">
					<div class="form-group">
						<label>用户名 </label> <i class="fa fa-pencil-square-o fa-fw"></i><span>可以包含字母数字以及_,长度为6-20位</span>
						<input type="text" class="form-control" id="inputEmail" placeholder="{$row.username}" name="username">
					</div>
					<div class="form-group">
						<label>用户密码 </label> <i class="fa fa-pencil-square-o fa-fw"></i><span>可以包含字母数字以及*_@#,长度为6-22位</span>
						<input type="password" class="form-control" name="password">
					</div>
					<div class="form-group">
						<label>确认密码 </label> <i class="fa fa-pencil-square-o fa-fw"></i><span>确认密码</span>
						<input type="password" class="form-control" name="repassword">
					</div>
					<div class="form-group">
						<label>邮箱 </label> <i class="fa fa-pencil-square-o fa-fw"></i><span>请输入正确格式邮箱</span>
						<input type="email" class="form-control" placeholder="{$row.email}" name="email">
					</div>
					<div class="form-group">
						<div class="checkbox squaredTwo">
							<i class="fa fa-arrow-circle-right fa-fw"></i><label>请遵守规则，发布积极向上的技术文章和心得</label><i class="fa fa-arrow-circle-left fa-fw"></i>
						</div>
					</div>
					<div class="form-group">
						<a href="javascript:document.myform.submit();" class="templatemo-blue-button">修改</a> <a href="__ROOT__/user/userManage.html" type="submit" class="templatemo-blue-button">取消</a>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
	$(document).ready(function(){
		$("#leftMenu a[class='active']").removeClass("active");
		$('#leftMenu a:eq(2)').addClass("active");
	});
</script>